package com.broada.apm.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 服务节点实体类<br/>
 * 
 * @author louyi Create By 2014年12月22日 下午1:41:47
 */
public class Node extends BaseResource implements Serializable {
	/**
	 * <code>serialVersionUID</code>
	 */
	private static final long serialVersionUID = 1L;
	
	private String ip;
	private int ipNum;
	private Date createdAt;
	private String ClientAddr;

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}
	public Date getCreatedAt() {
		return createdAt;
	}
	
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getIpNum() {
		return ipNum;
	}

	public void setIpNum(int ipNum) {
		this.ipNum = ipNum;
	}


	public String getClientAddr() {
		return ClientAddr;
	}
	public void setClientAddr(String clientAddr) {
		ClientAddr = clientAddr;
	}
	@Override
	public String toString() {
		return "Node [id=" + getId() + ", ip=" + ip +"]";
	}
}
